// 基于template/src/views/{{appModules}}/{{pages@DEPICKUPGRIDVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IPickupGridViewModel } from "@/core/interface/view/model";

function getModel(): IPickupGridViewModel {
    return {
        caption: "客户",
        title: "客户选择表格视图",
        capPSLanguageRes: "DE.LNAME.IBIZCUSTOMER",
        titlePSLanguageRes: "PAGE.TITLE.IBIZCUSTOMER.PICKUPGRIDVIEW",
        showDataInfoBar: false,
        codeName: 'IBIZCustomerPickupGridView',
        uiEngineModel: [
            ],
        ctrls: [
            {
                name: 'searchform',
                codeName: 'Default',
                controlType: 'SEARCHFORM',
            },
            {
                name: 'grid',
                codeName: 'Main',
                controlType: 'GRID',
            }
        ],
        ctrlParams: {
            IBIZCustomersearchform: {},
            IBIZCustomergrid: {},
        },
        cssName: "",
        name: "IBIZCustomerPickupGridView",
        viewType: "DEPICKUPGRIDVIEW",
        viewStyle: "DEFAULT",
        showCaption: true,
        isLoadDefault: true,
        entityCodeName: "IBIZCustomer",
        keyPSAppDEField: "IBIZCustomerId",
        majorPSAppDEField: "IBIZCustomerName",
        expandSearchForm:true,
        xDataCtrlName: "grid",
        quickSearchPlaceholder: ['客户名称',].join(","),
        useDefaultLayout: true,
    }
}

export const model = getModel();